<#include "/macro/base.ftl" />

<form id="pagerForm" method="post" action="${base}/sys/sysTradeLog/list">
	<@pagerForm />
</form>

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="${base}/sys/sysTradeLog/list" method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>交易类型：</label>
					<input type="text" "  name="logType" value="${(bean.logType)!}" placeholder="输入要查询的交易类型"/>
				</li>
				<li>
					<label>影响金额：</label>
					<input type="text" "  name="affactMoney" value="${(bean.affactMoney)!}" placeholder="输入要查询的影响金额"/>
				</li>
				<li>
					<label>付款人：</label>
					<input type="text" "  name="outMemberId" value="${(bean.outMemberId)!}" placeholder="输入要查询的付款人"/>
				</li>
				<li>
					<label>收款人：</label>
					<input type="text" "  name="incomeMemberId" value="${(bean.incomeMemberId)!}" placeholder="输入要查询的收款人"/>
				</li>
				<li>
					<label>交易备注：</label>
					<input type="text" "  name="logRemark" value="${(bean.logRemark)!}" placeholder="输入要查询的交易备注"/>
				</li>
				<li>
					<label>收支方向：</label>
					<input type="text" "  name="paymentType" value="${(bean.paymentType)!}" placeholder="输入要查询的收支方向"/>
				</li>
				<li>
					<label>交易流水号：</label>
					<input type="text" "  name="logOrder" value="${(bean.logOrder)!}" placeholder="输入要查询的交易流水号"/>
				</li>
				<li>
					<label>创建时间：</label>
					<input type="text" class="date"" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" name="createDate" value="${(bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="输入要查询的创建时间"/>
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="reset">清空重输</button></div></div></li>
				</ul>
			</div>
		</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li class="line">line</li>
			<li><a class="add" href="${base}/sys/sysTradeLog/add" target="dialog"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="${base}/sys/sysTradeLog/delete?id={sid}" target="ajaxTodo" title="确定要删除吗？" warn="请选中要删除的数据"><span>删除</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="${base}/sys/sysTradeLog/edit?id={sid}" target="dialog" warn="请选中要修改的数据"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>

	<div id="w_list_print">
		<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
			<thead>
				<tr>
					<th align="center" width="50">序号</th>
					<th >交易类型</th>
					<th orderField="affact_money" class="<#if page.orderField! == 'affact_money'>${ page.orderDirection}</#if>">影响金额</th>
					<th >付款人</th>
					<th >收款人</th>
					<th >交易备注</th>
					<th >收支方向</th>
					<th >交易流水号</th>
					<th orderField="create_date" class="<#if page.orderField! == 'create_date'>${ page.orderDirection}</#if>">创建时间</th>
					<th width="200">操作</th>
				</tr>
			</thead>
			<tbody>
				<#if (page)??>
					<#list page.list as bean>
						<tr target="sid" rel="${ bean.id?c}">
							<td align="center">${ bean_index+1}</td>
							<td>${ (bean.logType)!}</td>
							<td>${ (bean.affactMoney)!}</td>
							<td>${ (bean.outMemberId)!}</td>
							<td>${ (bean.incomeMemberId)!}</td>
							<td>${ (bean.logRemark)!}</td>
							<td>${ (bean.paymentType)!}</td>
							<td>${ (bean.logOrder)!}</td>
							<td>${ (bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
							<td>
								<a title="确定要删除吗？" target="ajaxTodo" href="${base}/sys/sysTradeLog/delete?id=${bean.id?c}" class="btnDel">删除</a>
								<a title="编辑" target="dialog" href="${base}/sys/sysTradeLog/edit?id=${bean.id?c}" class="btnEdit">编辑</a>
							</td>
						</tr>
					</#list>
				<#else>
					<tr>
						<td colspan="10" align="center">暂没记录</td>
					</tr>
				</#if>
			</tbody>
		</table>
	</div>
	<@pages />
</div>
